class Answer < ActiveRecord::Base
	belongs_to :question
	has_many :user_answers
  
  ##
  # this method returns a deep copy of answer
  # @return a deep copy of the answer object is returned
  def deep_copy
    a = Answer.new
    a.text = self.text
    a.correctness = self.correctness
    return a
  end
end
